package com.google.code.rsser.service;

import java.util.List;

import com.google.code.rsser.exception.InvalidFeedException;
import com.google.code.rsser.model.Feed;
import com.google.code.rsser.model.User;

public interface FeedService {
	Feed subscribe(User user, String url) throws InvalidFeedException;

	boolean isFeedSubscribed(User user, String url);
	
	void updateAll();

	List<Feed> findSubscribed(User user);

	Feed get(Integer id);
}
